<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
index.html
<br>
<button id="logoutBtn">登出提交</button>
</body>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript">
    $("#logoutBtn").click(function () {

        $.ajax({
            url:"/api/luss/v1/user/logouttest"
            ,type:"POST"
            ,data:{}
            ,success:function (result) {
                if(result.success){
                    alert("退出成功");
                }else{
                    alert("操作失败");
                }
            }
        })
    })

</script>
</html>